import '@/assets/js/rem'
import 'normalize.css'
import '@/assets/css/reset'
import MintUI from 'mint-ui';
import 'mint-ui/lib/style.css'

import Vue from 'vue'
import axios from 'axios'
import store from '@/store'
import router from '@/router'
import App from '@/components/App'
import { Button, InfiniteScroll, DatetimePicker, Indicator , Loadmore, Swipe, SwipeItem} from 'mint-ui';
// Vue.use(MintUI);
Vue.use(InfiniteScroll);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
Vue.component(Button.name, Button);
Vue.component(DatetimePicker.name, DatetimePicker);
Vue.component(Loadmore.name, Loadmore);
Vue.prototype.$ajax = axios

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
